package com.sd.repay.service.impl;

import com.sd.repay.pojo.SmsInfo;
import com.sd.repay.service.SmsService;
import com.sd.repay.sms.SmsRouteService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SmsServiceImpl implements SmsService {

    @Resource
    private SmsRouteService smsRoute;

    @Override
    public void checkValidateCode(SmsInfo smsInfo) {
        smsRoute.checkValidateCode(smsInfo);
    }

    @Override
    public void smsSend(SmsInfo smsInfo) {
        smsRoute.smsSend(smsInfo);
    }

}
